Added the ability to center windows that are floating.