Fix for direction not being set by accessor