Fix int cast error on projector texture scale