Implemented offscreen rendering in an attempt to speed things up. Still not really happy though  ..