Updated collision detection

Almost works with playing field boundaries, but it lags behind by one
step.