fixing wrong positioning of items (fixes overlapping daychange bug)