This also switches to using `Pixels` instead of `f32` to store the panel size everywhere. Release Notes: - N/A