Temporary fix for incorrect graphics rendering.