Fixes overlay position