rotation fix so that they properly wrap around as expected