Fixes wrong text positioning