I recognised that first picture straight away, my case is now cracked since I used the quickfix and I can't reach ANY diagonals anymore :(
But your fix has got me interested, I SO BADLY want to play shootemups with 8 directions again :)
I'm printing this and I might give it a go tonight, so do...