Webkit CSS3 flickering bugfix

Fixed bug which causes elements to flicker in webkit browsers.