Better use of delegates in GameUI
Fixes mouse ui bug in layers with no camera.