Fix NPE in client GUI

When breaking/right clicking at the same time it can crash the client on an NPE with the tileEntity reference.