Fixes some bugs on clicking faded boxes