Lost focus... (Introduced BUG)

So I lost focus a little. I was trying to make Link switch screens based
his bounds rather than his x and y location. I succeeded.... in the left
direction. John, if you could take a look at it and see if you know what
is wrong that would be great. I don't know why it doesn't work for up
and left.