This is www.geogebra.org/m/med8cwjj loaded normally in an iframe. Click a box to change its color. Working as expected.