Do not render if viewport is not visible

This is already implemented for DirectRender but missing in BufferedRender

Change-Id: I59c6f8fa8f61977cd8f869ebff761f2cc38c66c7
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>