workaround reflow error problem (working properly on Chrome for now)