Fix incorrect position with 'opens left' and non-body parent