draw terrain and overlay properly