Fixed bug where setting content of surface as 0 would not render