Fixes #3: weird hoisted image flashing on Chrome