added screen pixel rounding