Fixing overflowing content window for logged out users

#1166