[Test ROM](https://github.com/mgba-emu/mgba/files/6025000/cube_test.zip) The line that crosses the cube (drawn with sprites written with HDMA) is not present on hardware, because it is below other sprites: 
Test ROM
The line that crosses the cube (drawn with sprites written with HDMA) is not present on hardware, because it is below other sprites: