Fix broken assert

Had horizontal and vertical mixed up
Merge branch 'master' into 32bit