Fix for the infinite recursion problem in Rpi.

Instead of calling WKViewPaintToCurrentGLContext directly, set up a
g timer and let the timer call paint function to not to get into
a infinite recursion.

Reviewed by: Hugo Parente Lima