Removed hack for initial resize