Fixed tables' on_place functions to properly check for on_rightclick
on whatever you try to place on, so that the on_rightclick is executed
instead of the table being placed (e.g. it was interfering with doors).