Added Position fix for calendar popup

Hello there,
I needed this fix for a project, maybe this is something to think about for the base branch.
Pretty sure there is a better way to solve this an I've not touched the tests so far - don't have more time at the moment.. cheers André