Fixes For Scaled View

A scaled view could still be moved outside partially because the hasReachedEdgeX and hasReachedEdgeY methods didn't take into account scaling.