Fixes bounds orientation