Removed unused isInside method in Window