The scaling factor was being implicitly cast to an int. Closes: https://github.com/swaywm/sway/issues/4927