Why would they be in the _onResize?  That has nothing to do with handling clicks.