Added in boundaries for the screen location