Changing set_window to always use floats