Why does my convertible think it's in tablet mode when it is not?

My keyboard activates when in tent or tablet mode, and deactivates in laptop mode. How can I get this back to proper? Issue began after replacing screen which works perfectly.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0