fixed bug where clicking on a non-active block could deactivate an overlapping block