wrong positioning when clicking calendar on firefox