Merge "Crash instead of leaking layers/textures between GL contexts" into lmp-dev