Fix to issue 1, found by maj-tom. Fences are now properly placed after the draw call. They are also placed now at the correct locations.