1. Use "System is between angles" condition and compare StickOut.a variable, not the sprite angle.
System StickOut.a Is Between Angles 337.5 and 22.5
2. You can easily limit the distance, for example:
StickIn Move min(StickOut.d, 200) at angle StickOut.a