Check if our canvas has focus.  If not, then ignore events passed to it.