polygon flickering and texture problem in the game