cancel building if ESC is pressed