Higher layers are rendered with a 0.3 opacity filter to make it clear that they are not in the current view. This opacity was however only set when changing layers and not part of the main render logic. This caused a bug where resizing the screen, which does some internal changes, caused the opacity information to be lost.
This PR moves the transparency check to be a proper part of the render logic itself and not of the UI.
Higher layers are rendered with a 0.3 opacity filter to make it clear that they are not in the current view. This opacity was however only set when changing layers and not part of the main render logic. This caused a bug where resizing the screen, which does some internal changes, caused the opacity information to be lost.
This PR moves the transparency check to be a proper part of the render logic itself and not of the UI.
Fixes #1246