Modified the mouse position calculations so that padding no longer counts as mouse position (mouse position can be negative)