For anyone wondering, i solved this problem a few months ago.
It was because the bounds of the y- and x-rotation of the state space were constrained to zero. After i gave the state space full rotational freedom from -pi to pi for the z-, y- and x-rotation it worked.