Seems to only happen upon loading the chunks. Some of them (usually the closest ones to you) will act as if they're not blocked by other chunks.
Original ship:
{F9634}
View inside:
{F9632}
Easy enough to reproduce, although a bit of chance is needed sometimes.