fix for no depth_buffer (used in save)