Why does my content have flashing and flicker?