fixes collission detection while preserving button disabling