Fix clear screen, and do proper Z-testing for opaque vs transparent objects