Utility to keep windows floating