An editor off box collision in pygame