added ui click registering and preventing clicking underneath the ui
resolved conflicts