Added a function to check if an area is on screen in Surface.
Checked if surfaces are on screen before blitting.