Try to fix the anti-itemframe code... again.