Added resizing for floating windows