Eliminate funny flickering in firefox