Teleportation to coordinates initiated by a command block using /tp @p x y z appears to cause a bug when a bed is used where the time does not appear to change and the player cannot leave the bed (automatically by way of time change or by the Leave Bed button, which does nothing in this circumstance.) This consistently occurs the next time the player uses the bed after the command block is used to teleport, be it the next night or a subsequent night. Visually the perspective changes very slightly when the bug occurs and the visual remains darkened as if waiting for another player to go to bed to do the day-night change. This issue does not occur if the same teleport is initiated by the console command /tp x y z. The player can work around this by using a /kill command to respawn back in.
Update: After further investigation, I discovered that the issue only seems to occur when I am the only player in the server. I had a second player test it for me, they did not experience the same issue, and it did not occur for me with them in server as well.
Attached is a screenshot that shows the point of freezing.