Scholar's Mate: Minor fix - Library

Minor Fix fixed a problem with the library, if you opened the inventory when you had to select a book, the control was lost and you need to back to menu.