Fixes edge case when setForLinebreak is called in response to a linebreak