It is not a bug it is designed. When a user does Change script by popup menu, so you do it only on one table without surround information. When user want to generate with surround(Relationships etc.) please use change script wizard. User can use stored model action to do this operation repeatable etc.
PS: This feature was designed for fast work with small changes.