switched from MouseButtonReleased to MouseButtonPressed to prevent clickthrough