fixed gbuffer not resizing on window resize
improved event.debug