this is very probably linked to your graphic card drivers, and/or your system. What OS do you use? Try to upgrade your graphic card drivers.
Additionally, you can try in CoppeliaSim following: click the User settings toolbar button. Then click Adjust OpenGL settings. Try with different settings for Offscreen context type and FBO type. After a change, make sure to restart CoppeliaSim.