Fix hit_check and get_color to properly work
with Paste Canvases with layers with z depth range enabled.