Fixed rounding error in drawing floor

also rewrote the click pixel to unit conversion