lly
				margin_top = (frame_height - csize)/2;
			}
		}

		// skip if relevant state has not changed

		var update_hash = csize + margin_top * 1000.3 + margin_left * 0.001 + frame_width * 333.33 + frame_height * 772.15134;
		if (is_fullscreen) update_hash += 0.1237;

		// unexpected things can happen in the first few seconds, so just keep re-calculating layout. wasm version breaks layout otherwise.
		// also: bonus refresh at 5, 8 seconds just in case ._.
		if (p8_layout_frames < 180 || p8_layout_frames == 