fixed sdl-cairo-surface template