I guess you were trying to paint the texture on a chunk but it won't go on there but only on the ones beside it? You have reached the maximum of four layers then. Remove them all on that chunk and paint on it again. Do that by ctrl-shift-clicking the chunk.