See if we should swapBuffers before swapping in backend

Signed-off-by: Carsten Munk <carsten.munk@jollamobile.com>