I am having an issue where one of the paddles in my pong game isn't being drawn sometimes. Here is a video showing the problem
https://drive.google.com/open?id=0B9H8iYcDrB3JVHVGZ3hfX3ZjOVU and here is a link to the source code causing the error
https://github.com/wez470/SFML-Pong/tree/fullscreen.
The issue is happening on my desktop and laptop. My laptop is running Ubuntu 16.04 with SFML 2.3 and has an NVidia Optimus GPU. My desktop is running Ubuntu 15.04 with SFML 2.3 and has an NVidia GPU.
Don't mind the segfaults happening in the video when I kill the program. That seems to be an issue isolated to my laptop (which I did the screen recording on) where when the destructor of an sf::Text object is called, it causes a segfault. I can just run a program that creates an sf::Text object and it will segfault on my laptop. That doesn't happen on my desktop though. I didn't record the video on my desktop because for some reason when the screen recorder software was running, the right paddle would never show up. When the screen recording software wasn't running, it would should up sometimes like it does in the video.
The object is always actually there as you can make the ball still bounce off the paddle if you move it properly when it isn't being rendered. I'm really puzzled by this and any help would be appreciated.