Fix for login screen appearing within layout, closes #51.