In my project I create two layers, a tile layer and a vector layer. In the tile layer I load some image(e.g open aerial image), and then I create a frame around the tile layer using the vector layer.
The problem occurs when map rotates. When view rotation is 0, everything is OK.
P.S this code was work perfectly fine on ol 5.0.3.
update
the problem was fix in this PR