Added texture for block and fixed a bug.