[composer] Don't draw handles around locked items (fix #11059)