implemented off-screen rendering for enemies