Fixes staticLayout unit tests