Crash when getting font bounding rect