fixed some layout issues for login screen on OSX.