fix issues related to positioning in chrome