add sprite distance sorting, so they overlap properly