Fixed Location bug in OS X when Screen Size changed