Fixed issue when keyboard changes size