fix asteroid rectangle algorithm and respawn calculation