adding border boundaries and fixing z-indexing issues at game over