Fix possible stacking of books in bookshelf
Original author: @MT-Modder
Allow the group book to be placed into bookshelfs