Make sure modals are correctly positioned