Fix for responsive windows on orientation change